#include <iostream>
using namespace std;

class Car
{
public:
    Car();
    Car(Car& car);
    Car(string name, string color, string type, float price, float height, float weight);

    void setName(const string& name) { this->name = name; }
    string getName() { return name; }

private:
    string name;
    string color;
    string type;
    float price;
    float height;
    float weight;
};

Car::Car() : price(0), height(0), weight(0)
{
}

/**
 * 注意深拷贝问题
*/
Car::Car(Car& car) : name(car.name), color(car.color), type(car.type), price(car.price), height(car.height), weight(car.weight)
{
}

Car::Car(string name, string color, string type, float price, float height, float weight) 
            : name(name), color(color), type(type), price(price), height(height), weight(weight)
{
}


int main()
{
    return 0;
}